package org.noote.libs.widget;

public class Widget_LabelPad extends Widget_Pad {

	public Widget_LabelPad(Widget_Window parent) {
		super(parent);
	}
	
	public Widget_LabelPad(Widget_Window parent, WidgetTheme theme) {
		super(parent, theme);
	}
	
	@Override
	public void create()
	{
		super.create();
		
		setBackground(_theme._textures.getTextureID(WidgetTheme.TEXTID_LABEL));
		_label.setTextPosition(_theme.padSizeX/2, 12, _theme.padSizeX/2, 8);
		_label.setTextAlign(Widget_Label._ALIGN_CENTER);
		_label.setTextFont(_theme.fontRegular12);
		_icon.setIconPosition(_theme.padSizeX/2, _theme.padSizeY/2+10);
	}
}
